﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DoAn_QuanLyCafe.App_Data.Cafe_DSTableAdapters;
using DoAn_QuanLyCafe.App_Data;
using System.Data;

namespace DoAn_QuanLyCafe.App_Code.DAL
{
    class ThucAn_DoUong_DA
    {

        public DataTable Load()
        {
            MONTableAdapter dap = new MONTableAdapter();
            Cafe_DS.MONDataTable table = dap.GetData();
            return table;
        }

        public void update(Cafe_DS.MONDataTable tbl)
        {
            MONTableAdapter dap = new MONTableAdapter();
            dap.Update(tbl);
        }
    }
}
